import request from '@/utils/request'


//查询商品列表
export function getProductList(params) {
    return request({
        url: '/category/productList',
        method: 'get',
        params
    })
}

//审批商品
export function approveProduct(data) {
    return request({
        url: '/admin/approveProduct',
        method: 'post',
        data
    })
}